x86: log XPTI enabled status
authorJan Beulich <JBeulich@suse.com>
Mon, 19 Mar 2018 13:39:04 +0000 (07:39 -0600)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 5 Apr 2018 14:48:23 +0000 (15:48 +0100)
commit442b303cdaf7d774c0be8096fe5dbab68701abd3
treee27eb9909a5260d778e05773593e69abc1ac356a
parentbee0732d2066691d8204e418d10110930ee4d4f8
x86: log XPTI enabled status

At the same time also report the state of the two defined
ARCH_CAPABILITIES MSR bits. To avoid further complicating the
conditional around that printk(), drop it (it's a debug level one only
anyway).

Issue the main message without any XENLOG_*, and also drop XENLOG_INFO
from the respective BTI message, to make sure they're visible at default
log level also in release builds.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/spec_ctrl.c